package com.kinglone.back.role.dao;

import com.kinglone.back.role.model.Role;
import com.kinglone.common.node.ZTreeNode;

import java.util.List;
import java.util.Map;

public interface RoleMapper {


    List<Role> list(Map<String, Object> map);

    int getTotal(Map<String, Object> map);

    List<ZTreeNode> roleTreeList();

    List<ZTreeNode> roleTreeListByRoleId(String[] roleId);

    void deleteRolesById(Integer roleId);

    String getRoleNameByRoleId(Integer roleId);
}